<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2021/11/15
  Time: 10:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%--cset——用来定义变量--%>
<c:set var="score" value="70"/>

<%--test中为判断逻辑--%>
<%--el表达式没有点的表示是当前的类中的score变量--%>

<c:choose>
    <c:when test="${score<60}">
        一眼顶真
    </c:when>
    <c:when test="${score>10}">
        一眼顶真1
    </c:when>
</c:choose>



</body>
</html>
